<div class="list">
	<h1>事務所</h1>
	<div class="table">
		<table>
			<thead>
				<tr>
					<th>事務所</th>
					<th class="edit"></th>
					<th class="delete"></th>
				</tr>
			</thead>
			<tbody>
			<?php foreach ($agents as $agent): ?>
				<tr>
					<td><?php echo $agent->getName() ?>
					
					<td class="edit"><a
						href="<?php echo url_for("agent/edit?id=".$agent->getId())?>"><img></img></a>
					</td>
					<td class="delete"><?php echo link_to('<img></img>', 'agent/delete?id='.$agent->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?'))?>
					</td>

				</tr>
				<?php endforeach; ?>
			</tbody>
		</table>
	</div>
</div>
<div class="new">
	<h1>事務所の登録</h1>

	<?php include_partial('form', array('form' => $form)) ?>
</div>
